package com.my.study.designPatterns.adapterPattern;

/**
 * Adaptee 被适配的类、接口
 */
public class MallardDuck implements Duck {

    @Override
    public void fly() {
        System.out.println("MallardDuck can fly------------");
    }

    @Override
    public void quack() {

        System.out.println("MallardDuck can quack-------------");
    }
}
